package com.huilian.iotbox.data.service;

import com.alibaba.fastjson.JSONObject;
import com.huilian.iotbox.data.common.ServerResponse;
import com.huilian.iotbox.data.dto.MyBankPhotoDto;

import java.io.IOException;
import java.io.InputStream;

/**
 * @author 谢洛涛
 * @date 2021/3/16 17:56
 */
public interface UploadService {

    ServerResponse uploadQiniu(MyBankPhotoDto myBankPhotoDto) throws Exception;

    JSONObject imgVad(String imageBase, String imgUrl, Integer type) throws IOException;

    ServerResponse deleteByFileNameToFTP(String fileName);

    ServerResponse uploadImageToFTP(InputStream inputStream);

    ServerResponse uploadQiNiuByType(MyBankPhotoDto myBankPhotoDto);

}
